# your_project_name/routing.py

from channels.routing import ProtocolTypeRouter, URLRouter
from django.urls import path, re_path
from websocket_demo import consumers

# websocket_urlpatterns = [
# #     path('ws/<int:id>/', consumers.YourConsumer.as_asgi()),
# # ]

websocket_urlpatterns = [
    path('ws/<int:id>', consumers.YourConsumer.as_asgi()),
]